import config from '../config.js'
import ajax from '@/common/axios-td.js'
import router from '@/router/router.js'//路由模块


//退出并清除缓存
function ClearCacheAndExit(_success){
    window.localStorage.clear();
    typeof _success==='function' && _success()
    ajax.post({
        url:'/api/webapi/account/exit',
        success:(_res)=>{
             
        }
    })
   
}

export default{
    ClearCacheAndExit:ClearCacheAndExit,//清空缓存并退出
}
